package http;

import com.sun.org.apache.xalan.internal.extensions.ExpressionContext;

import java.nio.channels.SocketChannel;

/**
 * Created by zzf on 2017/4/26.
 */
public class Request {

    private SocketChannel socketChannel;

    private byte[] inputData;

    public Request(SocketChannel serverChannel) {
        this.socketChannel = serverChannel;
    }

    public byte[] getInputData() {
        return inputData;
    }

    public void setInputData(byte[] inputData) {
        this.inputData = inputData;
    }

    public SocketChannel getSocketChannel() {
        return socketChannel;
    }

    public void setSocketChannel(SocketChannel socketChannel) {
        this.socketChannel = socketChannel;
    }

    public ExpressionContext getAddress() {
        return null;
    }
}
